package com.jinmdz.fmis.api.api.model.cremation;

import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.constant.EDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 火化所需逝者信息
 *
 * @author LiCongLu
 * @date 2020-02-16 15:40
 */
@ApiModel(value = "火化所需逝者信息", description = "火化所需逝者信息")
public class CremationAllDeadData extends BaseBean {

    /**
     * 火化类型编码
     */
    @ApiModelProperty(value = "火化类型编码", name = "cremationTypeCode", position = 1)
    private Integer cremationTypeCode;

    /**
     * 火化类型
     */
    @ApiModelProperty(value = "火化类型", name = "cremationType", position = 2)
    @AnDict(dict = EDictCode.CREMATION_TYPE, ref = "cremationTypeCode")
    private String cremationType;

    public Integer getCremationTypeCode() {
        return cremationTypeCode;
    }

    public CremationAllDeadData setCremationTypeCode(Integer cremationTypeCode) {
        this.cremationTypeCode = cremationTypeCode;
        return this;
    }

    public String getCremationType() {
        return cremationType;
    }

    public CremationAllDeadData setCremationType(String cremationType) {
        this.cremationType = cremationType;
        return this;
    }
}
